package com.tanhua.manage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tanhua.manage.pojo.AdminRole;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AdminRoleMapper extends BaseMapper<AdminRole> {
    @Insert("insert into tb_admin_role_permission values (null,#{id},#{valueOf})")
    void insertRoleIdAndPressionId(@Param("id") Integer id, @Param("valueOf") Integer valueOf);
}
